package com.bookcity.front.webfront.vo;

import com.bookcity.front.webfront.domain.Book;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * 构建搜索条件
 * @author oldliu
 * @since 1.0
 */
@Data
@ToString
@ApiModel
public class BookVo extends Book implements Serializable {
    //int page=1;
    //private Long typeid;
    @ApiModelProperty("名称的搜索条件或者推广码")
    private String code;//书名或者口令
    //private String type;//全部，爆款，新书

}
